package com.ktjiaoyu.service;

import com.ktjiaoyu.entity.StorageRecord;
import com.ktjiaoyu.utils.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StorageRecordService {
    /**
     * 分页查询用户信息
     */
    public Page<StorageRecord> getPage(StorageRecord entity, Integer pageNo, Integer pageSize);

    /**
     * 新增 修改
     */
    public boolean saveOrUpdate(StorageRecord entity);
    /**
     * id 查询
     */
    public StorageRecord getById(Long id);

    /**
     * 根据 account 账号查找用户详细信息
     */
    public StorageRecord findBySrCode(String srCode) throws Exception;

    /**
     * 删除
     */
    public int deleteStorage(Long id);
}
